package com.mrjy.maintain.dao;

import com.mrjy.common.entity.SubscriptionInfo;
import com.mrjy.maintain.dto.TeacherInfoDTO;

import java.util.List;


public interface ISubscriptionInfoDao {

    public int insert(SubscriptionInfo info);

    public int deleteByIds(int[] ids);

    public int updateById(SubscriptionInfo info);

    public int updateByUserId(SubscriptionInfo info);

    public TeacherInfoDTO queryById(int id);

    public int updateDisableFlag(SubscriptionInfo info);

    public SubscriptionInfo queryByUserId(SubscriptionInfo info);

    public List<SubscriptionInfo> queryByUserIdTeacherId(SubscriptionInfo info);

    List<SubscriptionInfo> isSubscript(SubscriptionInfo info);

    List<SubscriptionInfo> queryBySubUser(SubscriptionInfo info);
}
